func crypto/x509.matchHostnames

3 uses

	crypto/x509 (current package)
		verify.go#L116: 	if !c.hasSANExtension() && matchHostnames(c.Subject.CommonName, splitHostname(h.Host)) {
		verify.go#L881: func matchHostnames(pattern string, hostParts []string) bool {
		verify.go#L977: 			if matchHostnames(match, hostParts) {